﻿@{
    ViewBag.Title = "SharedDashboards";
}
<section role="main" id="content">
    <header>
        <h1 id="admin-page-heading">Shared Dashboards</h1>
        <div class="aui-dd-parent upm-admin-headers upm-notifications-jira dd-allocated loaded" id="upm-notifications">
            <a href="#" class="aui-dd-trigger" id="upm-notifications-trigger" title="Plugin Notifications">
                <span id="upm-notifications-icon"></span>
                <span id="upm-notifications-count">0</span>
            </a>
            <div class="upm-notifications-dropdown aui-dropdown hidden" id="upm-notifications-dropdown">
                <h3>Plugin Notifications</h3>
                <p id="upm-no-notifications">There are no plugins requiring your attention at this time.</p>
            </div>
        </div>
    </header>  
    <div class="content-container">
        <div class="content-body aui-panel">                   
            <div id="main-content">
                <form name="search-dashboards-form" method="post" action="" class="aui" id="search-dashboards-form">
                    <h2>Search Shared Dashboards</h2>
                    <p>Find and modify dashboards that are shared with any group or role.</p>
                    <table cellspacing="0" cellpadding="0" class="filterSearchInput">
                        <tbody>
                            <tr>
                                <td class="filterSearchInputRightAligned fieldLabelArea">Search</td>
                                <td>
                                    <input type="text" name="searchName" maxlength="50" class="text" />
                                    <div class="description">Searches in the dashboard's name and description.</div>

                                </td>
                                <td width="10%" class="fieldLabelArea">Owner</td>
                                <td> 
                                    <div id="searchOwnerUserName_container" class="ajax_autocomplete">
                                          <input type="text" name="searchOwnerUserName" id="searchOwnerUserName" class="text" />
                                           <a title="Select a user" id="searchOwnerUserName-icon" href="#" class="popup-trigger"> 
                                                <span class="aui-icon icon-userpicker"></span>
                                                <span class="content"></span>
                                           </a>
                                          <div class="ajax_results" id="searchOwnerUserName_results"></div>
                                          <div class="description">Start typing to get a list of possible matches.</div>
    
                                    </div>
                                 </td>
                            </tr>
                            <tr class="buttons">
                                <td>&nbsp;</td>
                                <td colspan="3">
                                    <input type="submit" value="Search" name="Search" class="aui-button" />
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </form>
                <div id="shared-dashboard-search-results">
                    <div class="aui-message info"><span class="aui-icon icon-info"></span>
                        <p>Your search criteria did not match any dashboards.</p>
                    </div>
                </div>
            </div>
         </div> 
     </div>    
</section>
